package com.ansion.basedb.database;

import com.ansion.basedb.dao.model.BaseModel;

public interface DBOperateDeleteListener {
	/**
	 * 
	 * @param claz
	 * @param rows 删除的条数
	 */
	public <T extends BaseModel>void onDeleteCallback(Class<T> claz, int rows);

	default boolean needUIThread() {
		return true;
	}
}
